package com.yl.chainStore.entity.system

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.yl.common.annotation.NoArg
import com.yl.common.getContext
import java.util.*

/**
 * <p>
 *
 * </p>
 *
 * @author cxw
 * @since 2021-11-24
 */
@NoArg
@TableName("company_dept_other_config")
data class CompanyDeptOtherConfig(

	/**
	 * id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	var id: Long,

	/**
	 * 分院
	 */
	@TableField("sub_company_id")
	var subCompanyId: Long = getContext().subCompanyId,

	/**
	 * 公司id
	 */
	@TableField("company_id")
	var companyId: Long = getContext().companyId,

	/**
	 * 订单收费打印抬头
	 */
	@TableField("order_print_title")
	var orderPrintTitle: String? = null,

	/**
	 * 工作开始时间
	 */
	@TableField("work_start_time")
	var workStartTime: Date? = null,

	/**
	 * 工作结束时间
	 */
	@TableField("work_end_time")
	var workEndTime: Date? = null,

	/**
	 * 收欠费打印抬头
	 */
	@TableField("owe_order_print_title")
	var oweOrderPrintTitle: String? = null,

	)
